package com.chs.recoginition.core.exception.constant;

public class DateConstant {

	public static final String DATE_PATTERN_1 = "yyyy-MM-dd";
	public static final String DATE_PATTERN_2 = "yyyyMMdd";
	public static final String DATE_PATTERN_3 = "yyyyMMddHHmmssS";
	public static final String DATE_PATTERN_4 = "yyyy-MM-dd HH:mm:ss";
	public static final String DATE_PATTERN_5 = "yyyy年M月d日 HH:mm:ss";
	public static final String DATE_PATTERN_6 = "yyyy-MM";
	public static final String DATE_PATTERN_7 = "HH:mm:ss";
	public static final String DATE_PATTERN_8 = "yyyyMM";
	public static final String DATE_PATTERN_9 = "yyyy-MM-dd HH:mm";
	public static final String DATE_PATTERN_10 = "HH:mm";
	public static final String DATE_PATTERN_11 = "yyyy年M月";
	public static final String DATE_PATTERN_12 = "yyyy年M月d日";
	public static final String DATE_PATTERN_13 = "yyyy/MM/dd HH:mm";

	/** 天毫秒数 */
	public static final long DAY = 24 * 60 * 60 * 1000;

	/** 半小时毫秒数 */
	public static final long HALF_HOUR = 1800_000;

	/** 8小时毫秒数 */
	public static final long EIGHT_HOURS = DAY/3;

	/** 17小时和半小时毫秒数 */
	public static final long SEVENTEEN_AND_HALF_HOURS = 35 * HALF_HOUR;

	/** 1小时毫秒数 */
	public static final long A_HOUR = 2 * HALF_HOUR;

	/** 1分钟毫秒数 */
	public static final long A_MINUTES = A_HOUR/60;

	/** 1秒钟毫秒数 */
	public static final long A_SECONDS = A_MINUTES/60;

	/** 一周 */
	public static final long A_WEEK = 7 * DAY;

	/** 一月 */
	public static final long A_MONTH = 30 * DAY;

	/** 一年 */
	public static final long A_YEAR = 365 * DAY;
}
